package com.lagou.java.dao;

import com.lagou.java.pojo.User;

import java.util.List;

public interface UserDao {

    List<User> findAll() throws Exception;

    User findByCondition(User user) throws Exception;

    int insertUser(User user);

    int updateUser(User user);

    int deleteUser(String id);


}
